package com.ruoyi.yl.bedSetting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.yl.bedSetting.domain.YlRoomCategory;
import com.ruoyi.yl.bedSetting.vo.YlRoomCategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 房间类型Mapper接口
 *
 * @author Ming
 * @date 2025-10-21
 */
public interface YlRoomCategoryMapper extends BaseMapper<YlRoomCategory> {

    Page<YlRoomCategoryVo> queryList(Page<?> page, @Param("entity") YlRoomCategoryVo entity);

    List<YlRoomCategoryVo> queryList(@Param("entity") YlRoomCategoryVo entity);

    YlRoomCategoryVo queryById(@Param("id") Long id);

}
